/**
 * Created by Administrator on 15-3-23.
 */
function tusi(txt,fun){
    $('.tusi').remove();
    var div = $('<div style="background: url(../../images/tusi.png);max-width: 85%;min-height: 77px;min-width: 270px;position: absolute;left: -1000px;top: -1000px;text-align: center;border-radius:10px;"><span style="color: #ffffff;line-height: 77px;font-size: 23px;">'+txt+'</span></div>');
    $('body').append(div);
    div.css('zIndex',9999999);
    div.css('left',parseInt(($(window).width()-div.width())/2));
    var top = parseInt($(window).scrollTop()+($(window).height()-div.height())/2);
    div.css('top',top);
    setTimeout(function(){
        div.remove();
        if(fun){
            fun();
        }
    },2000);
}

